import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.MalformedURLException;
import java.net.Proxy;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.Date;

import sun.net.www.protocol.http.HttpURLConnection;


public class daili {

	
	//http://www.xicidaili.com/wt
	//http://www.goubanjia.com/
	//https://blog.csdn.net/sdfiiiiii/article/details/70432060
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
  		 SimpleDateFormat sdf=new SimpleDateFormat("yyyyMMdd");
		 String c=sdf.format(new Date());
		 int date = Integer.parseInt(c);
		 System.out.println(date);
	}

}
